<?php
    session_start();
    require("../inc/db.class.php");
    require("location.php");
    $usr_nmbr=$_SESSION['usr_nmbr'];
    $tstmnl=mysql_escape_string($_POST['tstmnl']);
    $dt_tm = date("Y-m-d H:i:s");
    $dbo= new database();
    $insertTestimonial="insert into  ".DB_NAME.".tstmnl (USR_NMBR, TSTMNL, DT_TM, IS_DLTD_FLG) values('$usr_nmbr', '$tstmnl', '$dt_tm', 'n') ";
    if($dbo->query($insertTestimonial))
        echo "true";
    else
        echo "false";
        
        
?>